import 'package:flutter/material.dart';
import 'package:get/get.dart';

import '../../common.dart';

class Backsuu extends StatefulWidget {
  Backsuu({super.key});
  @override
  State<Backsuu> createState() => _QGRulePageState();
}

class _QGRulePageState extends State<Backsuu> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Padding(
        padding: EdgeInsets.symmetric(horizontal: 15),

        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            wImage(url: 'aaa', width: 80),
            SizedBox(height: 15),
            wText(text: '回收成功', size: 15, bold: true),
            SizedBox(height: 25),

            Container(
              decoration: BoxDecoration(
                border: Border.all(color: Color(0XFFDDDDDD)),
                borderRadius: BorderRadius.circular(10),
              ),
              child: Column(
                children: [
                  Padding(
                    padding: EdgeInsets.symmetric(horizontal: 12, vertical: 12),
                    child: Row(
                      mainAxisAlignment: MainAxisAlignment.spaceBetween,
                      crossAxisAlignment: CrossAxisAlignment.start,
                      children: [
                        wText(text: '回收藏品', size: 14, color: '878b95'),
                        Container(
                          alignment: Alignment.centerRight,
                          width: 200,
                          child: Text(
                            '藏品名称二十个字藏品名称二十个字藏品名称',
                            style: TextStyle(fontSize: 14),
                            textAlign: TextAlign.right,
                          ),
                        ),
                      ],
                    ),
                  ),
                  Padding(
                    padding: EdgeInsets.symmetric(horizontal: 12, vertical: 12),
                    child: Row(
                      mainAxisAlignment: MainAxisAlignment.spaceBetween,
                      crossAxisAlignment: CrossAxisAlignment.start,
                      children: [
                        wText(text: '获得ST', size: 14, color: '878b95'),
                        Container(
                          alignment: Alignment.centerRight,
                          width: 200,
                          child: Text(
                            '234234324',
                            style: TextStyle(fontSize: 14),
                            textAlign: TextAlign.right,
                          ),
                        ),
                      ],
                    ),
                  ),
                  Padding(
                    padding: EdgeInsets.symmetric(horizontal: 12, vertical: 12),
                    child: Row(
                      mainAxisAlignment: MainAxisAlignment.spaceBetween,
                      crossAxisAlignment: CrossAxisAlignment.start,
                      children: [
                        wText(text: '订单编号', size: 14, color: '878b95'),
                        Container(
                          alignment: Alignment.centerRight,
                          width: 200,
                          child: Text(
                            '234234324',
                            style: TextStyle(fontSize: 14),
                            textAlign: TextAlign.right,
                          ),
                        ),
                      ],
                    ),
                  ),
                  Padding(
                    padding: EdgeInsets.symmetric(horizontal: 12, vertical: 12),
                    child: Row(
                      mainAxisAlignment: MainAxisAlignment.spaceBetween,
                      crossAxisAlignment: CrossAxisAlignment.start,
                      children: [
                        wText(text: '回收时间', size: 14, color: '878b95'),
                        Container(
                          alignment: Alignment.centerRight,
                          width: 200,
                          child: Text(
                            '234234324',
                            style: TextStyle(fontSize: 14),
                            textAlign: TextAlign.right,
                          ),
                        ),
                      ],
                    ),
                  ),
                ],
              ),
            ),
            Container(
              margin: EdgeInsets.only(top: 30),
              width: 200,
              height: 50,
              alignment: Alignment.center,
              decoration: BoxDecoration(
                borderRadius: BorderRadius.circular(25),
                gradient: LinearGradient(
                  colors: [Color(0XFF04B8FF), Color(0XFF0075E8)],
                  begin: Alignment.topLeft,
                  end: Alignment.bottomRight,
                ),
              ),
              child: wText(
                text: '返回上一级页面',
                size: 18,
                bold: true,
                color: 'FFFFFF',
              ),
            ),
          ],
        ),
      ),
    );
  }
}
